#include <stdbool.h>
#include "rtdText.h"
#include "rtdUri.h"
#include "ndef.h"
#include "nfc.h"

// 存储HTTP URI记录
bool storeUrihttp(RecordPosEnu position, uint8_t *http) {
    NDEFDataStr data;
    prepareUrihttp(&data, position, http);
    return NT3HwriteRecord(&data);
}

// 存储文本记录
bool storeText(RecordPosEnu position, uint8_t *text) {
    NDEFDataStr data;
    prepareText(&data, position, text);
    return NT3HwriteRecord(&data);
}
